You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Vector Structure > Vector Methods > Concat Method > Vector.Concat Method ([In] TVec[])
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Vector.Concat Method ([In] TVec[])

Concatenates an array of TVec objects.

Syntax
C#
Visual Basic
public TVec Concat([In] TVec[] Src);

Concatenates an array of TVec objects. The method copies the contents of all TVec objects from the Src array to the calling object. The Length and Complex properties of the calling vector are set implicitly. An exception is raised, if Complex properties of TVec objects do not match.

var a,b,c,d: Vector; begin a.SetIt(False,[1,2,3]); b.Copy(a); c.Concat([a,b]); // c = [1,2,3,1,2,3] d.Size(10,True); d.SetZero(0,4); d.Concat(4,[c]); // d = [0,0,0,0,1,2,3,1,2,3] end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!